<%@ page import="com.day240701.entity.Student" %><%--
  Created by IntelliJ IDEA.
  User: 王文尧
  Date: 2024/7/3
  Time: 11:41
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<script type="text/javascript">
    <%
        String msg = (String) session.getAttribute("msg");
        session.removeAttribute("msg");
        if (msg != null) {
    %>
    alert("<%=msg%>");
    <%
        }
    %>
</script>
<%
    Student stu = (Student) request.getAttribute("stu");
%>
<form method="post" action="manage">
    <input type="hidden" name="op" value="modifyStudentInfo"/>
    学号: <input type="text" name="sNo" value="<%=stu.getSNo()%>" readonly /><br/> <%--只读 学号不能改--%>
    姓名: <input type="text" name="sName" /><br/>
    密码: <input type="text" name="password"/><br/>
    性别: <input type="text" name="sex"/><br/>
    年龄: <input type="text" name="age"/><br/>

    <input type="submit" value="修改"/>
</form>
</body>
</html>
